package org.sradon.pojo.bean;

import org.sradon.mySpring.anno.di.Autowired;
import org.sradon.pojo.entity.Goods;

import javax.annotation.Resource;

public class Fighter {

    private String name;

    // @Resource
    @Autowired
    private Goods goods;

    @Override
    public String toString() {
        return "Fighter{" +
                "name='" + name + '\'' +
                ", goods=" + goods +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }
}
